-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ZEPPELIN-511 REST API: Insert / Retrieve / Move / Delete operation for paragraph #550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for adding really useful REST APIs! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This variable should be p2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prabhjyotsingh Good finding! Will fix.
|
@HeartSaVioR few more things I think you should do a clean up as well after every test case execution Also when I run this, line 538; it returns Which i think is also not appropriate. Since, this was an invalid operation (total nos of paragraph = 2). This should have either returned some error, or should have moved 1st paragraph to the last location. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be also post2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for finding, will fix.
|
@prabhjyotsingh |
|
Upmerged. Please take a look again, thanks! |
|
Done with another upmerge. |
|
Looks good to me. |
|
Would you mind to do rebase than merge? It will be easier to keep track who has credits on merged code. |
…r paragraph * implements 4 REST APIs about the paragraph * Added unit test to test this features Conflicts: zeppelin-server/src/test/java/org/apache/zeppelin/rest/ZeppelinRestApiTest.java
* also change http status code to 201 CREATED
Conflicts: zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Note.java
d4425fb to
59f5f61
Compare
|
@minahlee No problem. Rebased via creating new branch, cherry-pick, and reset branch's head. |
|
@HeartSaVioR Thanks for quick response. LGTM |
|
LGTM. Merging it into master |
What is this PR for?
This issue is intended to fill gap between REST API and WebSocket operations.
For now we can only access notebook and paragraph to READONLY (not writing) via REST API but after this PR, we can insert / retrieve / move / delete paragraph via REST API.
What type of PR is it?
Feature
Todos
Is there a relevant Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-511
How should this be tested?
Please follow the explanation of added REST APIs from rest-notebook.md.
Screenshots (if appropriate)
Questions: